package com.chengshi.shop.service.wechat;


import com.chengshi.shop.model.member.Member;
import com.chengshi.shop.model.order.Order;

/**
 * @author xuxinlong
 */
public interface MessageService {

    /**
     * 到账通知
     * @param message
     * @param url
     * @param member
     */
    void arrivalNoticeMsg(String message, String url, Member member);

    /**
     * 订单发货通知
     * @param order
     * @param deliveryGoods
     * @param openId
     */
    void orderDeliveryMsg(Order order, String deliveryGoods, String openId);

    /**
     * 订单关闭通知
     * @param order
     * @param message
     * @param openId
     */
    void orderCloseMsg(Order order, String message, String openId);

    /**
     * 订单确认收货
     * @param order
     * @param deliveryGoods
     * @param openId
     */
    void orderReceiptMsg(Order order, String deliveryGoods, String openId);

    /**
     * 通知管理员发货
     * @param num
     */
    void sendDeliveryNotice(Integer num);
}